/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Booking;

/**
 *
 * @author cipher
 */
public class BookingBean {

    //flight information
    private String departAirport;
    private String departCity;
    private String arriveAirport;
    private String arriveCity;
    

    private int departYear;
    private int departMonth;
    private int departDay;
    private int departHourUpper;
    private int departHourLower;
    
    private int returnYear;
    private int returnMonth;
    private int returnDay;
    private int returnHourUpper;
    private int returnHourLower;

    private String seatingClass;
    private String seatNumber;
    private int noOfTickets;
    
    //payment and personal information
    private String cardnum;
    private String cardtype;
    private String addr_street1;
    private String addr_street2;
    private String state;
    private String city;
    private String name;
    private String email;
    private String zipcode;
    private String Addr;
    private String Exdate;
//    private String referenceNum;

    private String OldOrNew;
    
    private int price;

    public void setExdate(String Exdate) {
        this.Exdate = Exdate;
    }

    public String getExdate() {
        return Exdate;
    }



    public void setAddr (String addr_street1, String addr_street2, String city, String state, String zipcode) {
        this.Addr = addr_street1 + " " + addr_street2 + "-" + city + "-" + state + "-" + zipcode;
    }

    public String getAddr () {
        return Addr;
    }

    public void setOldOrNew (String OldOrNew) {
        this.OldOrNew = OldOrNew;
    }

    public String getOldOrNew () {
        return OldOrNew;
    }

    public void setCardNumber (String cardnum) {
        this.cardnum =  cardnum;
    }

    public String getCardNumber () {
        return cardnum;
    }
    
    public void setCardType (String cardtype) {
        this.cardtype = cardtype;
    }
    
    public String getCardType () {
        return cardtype;
    }

    public void setEmail (String email) {
        this.email = email;
    }

    public String getEmail () {
        return email;
    }

    public void setAddr1 (String addr_street1) {
        this.addr_street1 = addr_street1;
    }

    public void setAddr2 (String addr_street2) {
        this.addr_street2 = addr_street2;
    }

    public void setState (String state) {
        this.state = state;
    }

    public void setCity (String city) {
        this.city = city;
    }

    public String getCity () {
        return city;
    }

    public void setChName (String name) {
        this.name = name;
    }

    public void setZipCode (String zipcode) {
        this.zipcode = zipcode;
    }

//    public String getRefNum() {
//        return referenceNum;
//    }

    public String getArriveAirport() {
        return arriveAirport;
    }

    public String getArriveCity() {
        return arriveCity;
    }

    public String getDepartAirport() {
        return departAirport;
    }

    public String getDepartCity() {
        return departCity;
    }

    public int getDepartDay() {
        return departDay;
    }

    public int getDepartHourLower() {
        return departHourLower;
    }

    public int getDepartHourUpper() {
        return departHourUpper;
    }

    public int getDepartMonth() {
        return departMonth;
    }

    public int getDepartYear() {
        return departYear;
    }

    public int getNoOfTickets() {
        return noOfTickets;
    }

    public int getReturnHourLower() {
        return returnHourLower;
    }

    public int getReturnHourUpper() {
        return returnHourUpper;
    }

    public int getReturnMonth() {
        return returnMonth;
    }

    public int getReturnYear() {
        return returnYear;
    }

    public int getReturnDay() {
        return returnDay;
    }

    public int getPrice() {
        return price;
    }

    public String getSeatingClass() {
        return seatingClass;
    }
}
